# dir -l

import os

def dir():
    dirArr = []
    for item in os.listdir('.'):
        if os.path.isdir(item):
            dirArr.append(item)
    print(dirArr)

if __name__ == "__main__":
    dir()